<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<ui:composition template="template.xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h ="http://java.sun.com/jsf/html"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:mc="http://java.sun.com/jsf/composite/mycomponents">

    <ui:define name="main">
        #{loginManager.requireLogin}
        <h2>#{msg.userdata}</h2>

        <mc:usercomp>
            <f:attribute value="#{loginManager}" name="loginManager" />
        </mc:usercomp>
    </ui:define>

    <ui:define name="accessibility">
        <ul class="accessibility">
            <li><a href="#navigation" accesskey="1">#{msg.navi}</a></li>
            <li><a href="#board" accesskey="0">#{msg.board}</a></li>
            <li><a href="#score" accesskey="2">#{msg.score}</a></li>
        </ul>
    </ui:define>

    <ui:define name="navi">
        <ul>
            <li><a href="#">#{msg.back_to_lounge}</a></li>
            <li><a href="#">#{msg.logout}</a></li>
        </ul>
    </ui:define>

</ui:composition>
